package com.raincat.tools.nettools;

/**
 * <pre>
 *     author : RainCat
 *     org    : Shenzhen JingYu Network Technology Co., Ltd.
 *     e-mail : nining377@gmail.com
 *     time   : 2020/03/23
 *     desc   : HTTPS请求
 *     version: 1.0
 * </pre>
 */
public class HttpsConfig extends HttpConfig {
    public HttpsConfig() {
        request = new Request();
        request.requestMode = HTTPS;
        request.cookie = NetConfig.cookie;
        request.reTry = NetConfig.reTry;
        request.connectTimeout = NetConfig.connectTimeout;
        request.readTimeout = NetConfig.readTimeout;
        request.sslFilePath = NetConfig.sslAssetsFileName;
    }
}
